package lucene.server.database.meta;

import lucene.server.database.model.DatabaseModel;
import lucene.server.database.model.TableModel;

import java.sql.Connection;
import java.util.Map;

public interface IDialectMeta {
   Map<String,DatabaseModel> getDataBases(Connection connection);
   void setTables(Connection connection,DatabaseModel databaseModel);
   void setColumns(Connection connection, DatabaseModel databaseModel, TableModel tableModel);
   void setPrimaryKeys(Connection connection,DatabaseModel databaseModel,TableModel tableModel);
}
